home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Graphics / KaraCollection / TKC_Docs / Utilities / H / 2 / Reset-CD < prev    next >
Text File  |  1996-09-10  |  1KB  |  66 lines

  1. .Key LOCK
  2. .bra {
  3. .ket }
  4.  
  5. Failat 21
  6.  
  7. If {LOCK} EQ EXCLUSIVE
  8.   If NOT EXISTS RAM:KaraCDBusy
  9.     Echo > RAM:KaraCDBusy ";"
  10.   Else
  11.     Echo "*N Reset: The CD-ROM is currently being configured. Please wait."
  12.     Wait 8 SECS
  13.     If EXISTS RAM:KaraCDBusy
  14.       Echo "*N The CD-ROM is still being configured..."
  15.       Wait 8 SECS
  16.     EndIf
  17.     If EXISTS RAM:KaraCDBusy
  18.       Echo "*N The CD-ROM is still being configured..."
  19.       Wait 12 SECS
  20.     EndIf
  21.     If EXISTS RAM:KaraCDBusy
  22.       Echo "*N It appears that the configuration is still in progress."
  23.       Echo " A Reset will now be forced."
  24.     Else
  25.       Echo "*N Configuration complete. Continuing with Reset procedure.*N"
  26.     EndIf
  27.   EndIf
  28.   Echo > RAM:KaraCDBusy ";"
  29. EndIf
  30.  
  31. If EXISTS RAM:T/KaraCD-IPT
  32.   CD RAM:T/KaraCD-IPT
  33.  
  34.   If EXISTS UndoAssign
  35.     Execute UndoAssign
  36.  
  37.     If EXISTS RAM:MultiView
  38.       Delete >NIL: RAM:MultiView QUIET
  39.  
  40.       If EXISTS RAM:MultiView.old
  41.         Rename RAM:MultiView.old RAM:MultiView
  42.       EndIf
  43.     EndIf
  44.   EndIf
  45.  
  46.   CD RAM:
  47.   Delete >NIL: RAM:T/KaraCD-IPT ALL QUIET
  48.  
  49.   If EXISTS RAM:T/KaraCD-IPT/UndoAssign
  50.     Delete >NIL: RAM:T/KaraCD-IPT/UndoAssign QUIET
  51.   EndIf
  52. EndIf
  53.  
  54. Assign >NIL: KARACDLOCAL:
  55. Assign >NIL: KARACDROOT:
  56. Assign >NIL: KARACDINST:
  57.  
  58. If {LOCK} EQ EXCLUSIVE
  59.   Delete >NIL: RAM:KaraCDBusy QUIET
  60. EndIf
  61.  
  62.  
  63. ; Cloanto ® CD-ROM Configuration Scripts
  64. ; Copyright © 1995, 1996 Cloanto Italia srl - All Rights Reserved
  65. ; Cloanto is a registered trademark of Cloanto Italia srl
  66.